# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xcb-proto
pkgver=1.16.0
pkgrel=1
pkgdesc="XML-XCB protocol descriptions"
options="!check" # no testsuite
url="https://xcb.freedesktop.org"
arch="noarch"
license="MIT"
makedepends="python3"
subpackages="$pkgname-pyc"
source="https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="
54906f379a7aa2cbbfbbe54764c02dbf522ca8f6c54e07d4faae471aac3aee25d0359be38c808c8da887de228aed745582a78b2f56714b023bca8f3513b24972  xcb-proto-1.16.0.tar.xz
"
